VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingRadialGradientBrush Class / DrawingRadialGradientBrush Constructors / DrawingRadialGradientBrush Constructor(DrawingFactory,PointF,Single,GradientStop[])
Syntax Exceptions Requirements SeeAlso
In This Topic
DrawingRadialGradientBrush Constructor(DrawingFactory,PointF,Single,GradientStop[])
In This Topic
Initializes a new instance of the DrawingRadialGradientBrush class.
Syntax
'Declaration

Public Function New( _
ByVal factory As DrawingFactory, _
ByVal center
The center of the radial gradient.
As System.Drawing.PointF, _
ByVal radius
The radius of the radial gradient.
As Single, _
ByVal ParamArray gradientStops
The gradient stops of the brush.
() As GradientStop _
)
public DrawingRadialGradientBrush(
DrawingFactory factory,
System.Drawing.PointF center,
float radius,
params GradientStop[] gradientStops
)

Parameters

factory
The DrawingFactory.
center
The center of the radial gradient.
radius
The radius of the radial gradient.
gradientStops
The gradient stops of the brush.
Exceptions
ExceptionDescription
Thrown if gradientStops is null.
Thrown if gradientStops length is less than 2 or radius is equal or less than 0.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also